package com.example.access_control.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 门禁设备	
 * </p>
 *
 * @author  张彬 
 * @since 2025-10-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AccessControl implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * IP
     */
    private String ip;

    /**
     * 门禁名称
     */
    private String accessControlName;

    /**
     * 端口
     */
    private String port;

    /**
     * 账户名
     */
    private String user;

    /**
     * 密码
     */
    private String password;

    /**
     * 录入时间
     */
    private String createTime;

    /**
     * 提示声音0关闭1打开
     */
    private Integer promptSound;

    /**
     * 门禁设备状态
     */
    private Integer onlineStatus;


}
